<html>
	<head>
		{literal}
		<style>

			BODY, TD {

				font-family: tahoma;
				font-size: 12px;

			}

		</style>
		{/literal}
	</head>
	<body>
		<table align="center" cellpadding="20" width="640" bgcolor="#EFEFEF" style="border: 2px solid purple;">
			<tr>
				<td>
					{$to_email},<br /><br />



					{if $search}
						Here are all my movies under the name '{$search}'<br /><br />
					{else}
						Here are all my movies
						{if $genres}
							Here are all my movies that belong to the following genres.
						{else}
							Here are all of my movies.
						{/if}
						<br /><br />
					{/if}

					{if $genres}
						The list was filtered to the following genres<br /><br />
					{/if}
					
					{if $attachment}
						Please find the list attached to this email as a text document<br /><br />
					{/if}

					{if $attachment == false}
						<table cellspacing="0" cellpadding="5">
							<tr>
								<td></td>
								<td></td>
								<td></td>
							</tr>
						{foreach from=$movies item=m name=m}
							<tr bgcolor="{cycle values="#FFFFFF,#DDDDDD"}">
								<td align="right">{$smarty.foreach.m.iteration}. </td>
								<td>{$m.title} ({$m.year})</td>
								<td>{imdb url=$m.imdb_url}</td>
							</tr>
						{/foreach}
						</table>
					{/if}
					<br />

					Regards<br />
					{$member.name}<br /><br />

					This email was automated from Movie Manager 2005. You can download <a href="">movie manager</a> from<br /><br />

				</td>
			</tr>
		</table>
	</body>
</html>